package com.wntms.zjy.dao;

import com.wntms.zjy.pojo.FreightStatus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author 测试用
 * @create 2022-11-24 11:57
 */
@Mapper
public interface FreightStatusDaoz {

    @Select("select * from freight_status where id = #{id}")
    public FreightStatus findById(Integer id);

    @Select("select count(*) from freight_status where status = #{status}")
    public Integer findCountByStatus(Integer status);
}
